package com.itheima02;

import java.util.ArrayList;

public class Work12 {
    public static void main(String[] args) {
        ArrayList aaaa = new ArrayList();
        long a = System.currentTimeMillis();
        for (int i = 1; i <= 10000000; i++) {
            aaaa.add(1);
        }
        long b = System.currentTimeMillis();
        long c = b - a;
        System.out.println(c);
    }
}
